/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service.inventory;

import java.util.List;
import model.inventory.Dept;
import view.inventory.DeptNode;

/**
 *
 * @author jay
 */

public interface DeptService {
    boolean save(Dept dept);
    boolean delete(Dept dept);
    Dept getDept(int id);
    Dept getDept(String kode);
    List<Dept> getDept();
    List<Dept> getDept(int start, int num);
    List<Dept> getDept(int start, int num, String params, String orderBy);
    List<Dept> getDeptTree(int induk);
}
